import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
    state: {
        userInfo:{},
        isTourist:false
    },
    mutations: {
        changeState(state, msg) {
            state[msg.key] = msg.value
          },      
    },
    actions: {}
})
export default store